package net.worldscale.xp.wslib.wsxml.impl;

import net.worldscale.xp.wslib.wsxml.WsXML;
import net.worldscale.xp.wspr.Module;
import net.worldscale.xp.wspr.ModuleFactory;
import net.worldscale.xp.wspr.ModuleInfo;
import net.worldscale.xp.wspr.ModuleKey;

public final class WsXmlFactory extends ModuleFactory {

    public WsXmlFactory() {
    }

    @Override
    public Module createInstance() {
        return new ImplWsXML();
    }

    @Override
    public ModuleInfo getInfo() {
        return new ModuleInfo() {

            @Override
            public ModuleKey getKey() {
                return WsXML.MODULE_KEY;
            }

            @Override
            public String getName() {
                return "WsXML";
            }

            @Override
            public String getVersion() {
                return "1.0";
            }
        };
    }
}
